lib/repo: Add return value to _ostree_repo_add_remote()
authorPhilip Withnall <withnall@endlessm.com>
Thu, 18 May 2017 07:26:34 +0000 (08:26 +0100)
committerAtomic Bot <atomic-devel@projectatomic.io>
Fri, 19 May 2017 15:01:59 +0000 (15:01 +0000)
commitb6ac28b0dac0f4dafb7aa671e53bd57db72cc2ed
treec1f9ee99d22c122117227f2156fea9a9877835d0
parented7905d000f6d20374e3cde4d85281fb5bfdcdf9
lib/repo: Add return value to _ostree_repo_add_remote()

Return whether the remote already existed. This is an internal API, so
it’s not an API break. The return value will be useful in upcoming
commits for working out whether to later remove a remote again.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
Closes: #875
Approved by: cgwalters
src/libostree/ostree-repo-private.h
src/libostree/ostree-repo.c